package cn.tedu.egmybatis05.mapper;

import cn.tedu.egmybatis05.pojo.entity.Cust;
import cn.tedu.egmybatis05.pojo.entity.Order;
import cn.tedu.egmybatis05.vo.CustomerVo1;
import cn.tedu.egmybatis05.vo.CustomerVo2;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface CustMapper {
    int insertCust(Cust cust);

    int insertOrder(Order order);

    CustomerVo1 selectNT(String cid);

    List<CustomerVo2> selectNC(String city);

    int updateOrder(Order order);



}
